# -*- coding:utf-8 -*-
"""
settings for admission ticket project.
"""
# Request URL for get temporary download URL
BASE_URL = "https://edufenghuang.ihxlife.com/api/networkCourse/callback"
# BASE_URL = "https://daxue.iachina.cn/integral/operatePlayDetailedLog"

# Download file storage root path
DL_ROOT_PATH = "/data/download"

# Force download sign, default False
FORCE_DOWNLOAD = False

# ThreadPoolExecutor max_workers
MAX_WORKERS = 1

# Thread task execution waiting time(s). as_completed
TASK_WAITING_TIME = 3600 * 10


# Login account header
HEADER = {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
          'Accept-Encoding': 'gzip, deflate',
          'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
          'Cache-Control': 'no-cache',
          'Connection': 'keep-alive',
          'Cookie': 'tcad=0; Hm_lvt_ad427abca246cf00c76afdb6199ae89c=1638582217; Hm_lpvt_ad427abca246cf00c76afdb6199ae89c=1638585037; JSESSIONID=AB19C907C2F36519262907137D2BFC61; SERVERID=6d33bdb34f4de595fc7d918ae5054831|1638588642|1638587814; Hm_lvt_ad427abca246cf00c76afdb6199ae89c=1638582217,1638587854; Hm_lpvt_ad427abca246cf00c76afdb6199ae89c=1638587854; loginType=ms; acw_tc=76b20f4616385877954944988e0cbdd10cb8adf3b6ccb823d1e435281da25f; skey=ZTBgBCwHeloxY1R1Mlo0H2AxWQMxXA1wNWFceDICEVJnHHRxAXIFdyhgYn0yZA03ZTB8WQNiQHMzbnZ*NVwjKGdVQn0GB3pwBwVIYDJaDR9nLl5xN3JAAjRiUGcxdwEoZ1VRBwFiAUUCB35gMXVQIGVUQmEzYgUCNWBuZDkBIFNlCnR5NmJMAD8GCWAyZCRSYgtCTTdicmE1WnJiNXYJU2EuVlk1cnoHNGB6czYBDlJmMUIELXJQZzVlAX8BdT8hYAtCfDdhbmc/BFB3AXcGWw; salt=4f27b744f681c0ef; loginName=fengcy',
          'Host': 'zgrz.daxue.iachina.cn',
          'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36'
          }
